<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QxOrm: C:/Dvlp/_Perso/QxOrm/include/QxDao/IxSqlRelation.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo_qxorm.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QxOrm
   &#160;<span id="projectnumber">1.4.3</span>
   </div>
   <div id="projectbrief">C++ Object Relational Mapping library</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_ix_sql_relation_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">IxSqlRelation.h</div>  </div>
</div>
<div class="contents">
<a href="_ix_sql_relation_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/****************************************************************************</span>
<a name="l00002"></a>00002 <span class="comment">**</span>
<a name="l00003"></a>00003 <span class="comment">** http://www.qxorm.com/</span>
<a name="l00004"></a>00004 <span class="comment">** Copyright (C) 2013 Lionel Marty (contact@qxorm.com)</span>
<a name="l00005"></a>00005 <span class="comment">**</span>
<a name="l00006"></a>00006 <span class="comment">** This file is part of the QxOrm library</span>
<a name="l00007"></a>00007 <span class="comment">**</span>
<a name="l00008"></a>00008 <span class="comment">** This software is provided &#39;as-is&#39;, without any express or implied</span>
<a name="l00009"></a>00009 <span class="comment">** warranty. In no event will the authors be held liable for any</span>
<a name="l00010"></a>00010 <span class="comment">** damages arising from the use of this software</span>
<a name="l00011"></a>00011 <span class="comment">**</span>
<a name="l00012"></a>00012 <span class="comment">** Commercial Usage</span>
<a name="l00013"></a>00013 <span class="comment">** Licensees holding valid commercial QxOrm licenses may use this file in</span>
<a name="l00014"></a>00014 <span class="comment">** accordance with the commercial license agreement provided with the</span>
<a name="l00015"></a>00015 <span class="comment">** Software or, alternatively, in accordance with the terms contained in</span>
<a name="l00016"></a>00016 <span class="comment">** a written agreement between you and Lionel Marty</span>
<a name="l00017"></a>00017 <span class="comment">**</span>
<a name="l00018"></a>00018 <span class="comment">** GNU General Public License Usage</span>
<a name="l00019"></a>00019 <span class="comment">** Alternatively, this file may be used under the terms of the GNU</span>
<a name="l00020"></a>00020 <span class="comment">** General Public License version 3.0 as published by the Free Software</span>
<a name="l00021"></a>00021 <span class="comment">** Foundation and appearing in the file &#39;license.gpl3.txt&#39; included in the</span>
<a name="l00022"></a>00022 <span class="comment">** packaging of this file. Please review the following information to</span>
<a name="l00023"></a>00023 <span class="comment">** ensure the GNU General Public License version 3.0 requirements will be</span>
<a name="l00024"></a>00024 <span class="comment">** met : http://www.gnu.org/copyleft/gpl.html</span>
<a name="l00025"></a>00025 <span class="comment">**</span>
<a name="l00026"></a>00026 <span class="comment">** If you are unsure which license is appropriate for your use, or</span>
<a name="l00027"></a>00027 <span class="comment">** if you have questions regarding the use of this file, please contact :</span>
<a name="l00028"></a>00028 <span class="comment">** contact@qxorm.com</span>
<a name="l00029"></a>00029 <span class="comment">**</span>
<a name="l00030"></a>00030 <span class="comment">****************************************************************************/</span>
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 <span class="preprocessor">#ifndef _IX_SQL_RELATION_H_</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#define _IX_SQL_RELATION_H_</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span>
<a name="l00035"></a>00035 <span class="preprocessor">#ifdef _MSC_VER</span>
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#pragma once</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span>
<a name="l00046"></a>00046 <span class="preprocessor">#include &lt;<a class="code" href="_qx_property_bag_8h.html" title="Used by introspection engine (IxClass, IxDataMember, IxFunction, etc.) to add meta-data (property bag...">QxCommon/QxPropertyBag.h</a>&gt;</span>
<a name="l00047"></a>00047 
<a name="l00048"></a>00048 <span class="preprocessor">#include &lt;<a class="code" href="_qx_sql_relation_params_8h.html" title="Define list of parameters to transfer to relationships to manage SQL queries builded by QxOrm library...">QxDao/QxSqlRelationParams.h</a>&gt;</span>
<a name="l00049"></a>00049 <span class="preprocessor">#include &lt;<a class="code" href="_qx_soft_delete_8h.html" title="Soft delete (or logical delete) behavior to update a row into database (flag it as deleted) instead o...">QxDao/QxSoftDelete.h</a>&gt;</span>
<a name="l00050"></a>00050 <span class="preprocessor">#include &lt;<a class="code" href="_qx_sql_join_8h.html" title="Define how to join 2 tables into SQL query (LEFT OUTER JOIN, INNER JOIN, etc...)">QxDao/QxSqlJoin.h</a>&gt;</span>
<a name="l00051"></a>00051 
<a name="l00052"></a>00052 <span class="preprocessor">#include &lt;<a class="code" href="_qx_collection_8h.html" title="QxOrm container (keep insertion order + quick access by index + quick access by key)">QxCollection/QxCollection.h</a>&gt;</span>
<a name="l00053"></a>00053 
<a name="l00054"></a><a class="code" href="_ix_sql_relation_8h.html#a3983e08b7ecc8f694194414a945dc107">00054</a> <span class="preprocessor">#define QX_CONSTRUCT_IX_RELATION() \</span>
<a name="l00055"></a>00055 <span class="preprocessor">m_pClass(NULL), m_pClassOwner(NULL), m_pDataMember(p), m_pDataMemberX(NULL), \</span>
<a name="l00056"></a>00056 <span class="preprocessor">m_pDataMemberId(NULL), m_pDataMemberIdOwner(NULL), m_lOffsetRelation(100), \</span>
<a name="l00057"></a>00057 <span class="preprocessor">m_eJoinType(qx::dao::sql_join::left_outer_join), m_eRelationType(no_relation), \</span>
<a name="l00058"></a>00058 <span class="preprocessor">m_bInitInEvent(false), m_bInitDone(false), m_iIsSameDataOwner(0)</span>
<a name="l00059"></a>00059 <span class="preprocessor"></span>
<a name="l00060"></a>00060 <span class="keyword">namespace </span>qx {
<a name="l00061"></a>00061 
<a name="l00062"></a>00062 <span class="keyword">class </span>IxClass;
<a name="l00063"></a>00063 <span class="keyword">class </span>IxDataMember;
<a name="l00064"></a>00064 <span class="keyword">class </span>IxDataMemberX;
<a name="l00065"></a><a class="code" href="namespaceqx.html#a4d70f1638cec040d0f98a9bc83b134d1">00065</a> <span class="keyword">class </span><a class="code" href="classqx_1_1_ix_sql_relation.html" title="qx::IxSqlRelation : common interface for all relationships defined between 2 classes (or between 2 ta...">IxSqlRelation</a>;
<a name="l00066"></a>00066 
<a name="l00067"></a>00067 <span class="keyword">typedef</span> <a class="code" href="classqx_1_1_qx_collection.html" title="qx::QxCollection&lt;Key, Value&gt; : QxOrm container (keep insertion order + quick access by index + quick ...">QxCollection&lt;QString, IxSqlRelation *&gt;</a> <a class="code" href="namespaceqx.html#a4d70f1638cec040d0f98a9bc83b134d1">IxSqlRelationX</a>;
<a name="l00068"></a>00068 
<a name="l00073"></a><a class="code" href="classqx_1_1_ix_sql_relation.html">00073</a> <span class="keyword">class </span><a class="code" href="_qx_macro_8h.html#aa569abe24f343fdc4ad5e12e156ba8a2">QX_DLL_EXPORT</a> <a class="code" href="classqx_1_1_ix_sql_relation.html" title="qx::IxSqlRelation : common interface for all relationships defined between 2 classes (or between 2 ta...">IxSqlRelation</a> : <span class="keyword">public</span> qx::<a class="code" href="classqx_1_1_qx_property_bag.html" title="qx::QxPropertyBag : used by introspection engine (IxClass, IxDataMember, IxFunction, etc.) to add meta-data (property bag)">QxPropertyBag</a>
<a name="l00074"></a>00074 {
<a name="l00075"></a>00075 
<a name="l00076"></a>00076 <span class="keyword">public</span>:
<a name="l00077"></a>00077 
<a name="l00078"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#a441efa61172fbe9986756e69693c60c1">00078</a>    <span class="keyword">enum</span> <a class="code" href="classqx_1_1_ix_sql_relation.html#a441efa61172fbe9986756e69693c60c1">relation_type</a> { no_relation, one_to_one, one_to_many, many_to_one, many_to_many };
<a name="l00079"></a>00079 
<a name="l00080"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#a3bbd3331679f7cc2d516a4c57250ffa8">00080</a>    <span class="keyword">typedef</span> <a class="code" href="classqx_1_1_qx_collection.html">QxCollection&lt;QString, IxDataMember *&gt;</a> <a class="code" href="classqx_1_1_ix_sql_relation.html#a3bbd3331679f7cc2d516a4c57250ffa8">type_lst_data_member</a>;
<a name="l00081"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#ac3785cc67fcaddd747adedcc4665179b">00081</a>    <span class="keyword">typedef</span> qx_shared_ptr&lt;type_lst_data_member&gt; <a class="code" href="classqx_1_1_ix_sql_relation.html#ac3785cc67fcaddd747adedcc4665179b">type_lst_data_member_ptr</a>;
<a name="l00082"></a>00082 
<a name="l00083"></a>00083 <span class="keyword">protected</span>:
<a name="l00084"></a>00084 
<a name="l00085"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#a2e1376b316693b640b14796e9cae3f8a">00085</a>    <a class="code" href="classqx_1_1_ix_class.html" title="qx::IxClass : common interface for all classes registered into QxOrm context">IxClass</a> *                        <a class="code" href="classqx_1_1_ix_sql_relation.html#a2e1376b316693b640b14796e9cae3f8a" title="&#39;IxClass&#39; associated wth sql relation">m_pClass</a>;               
<a name="l00086"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#aeac1e4579260bb325ae359f45d0ed602">00086</a>    <a class="code" href="classqx_1_1_ix_class.html" title="qx::IxClass : common interface for all classes registered into QxOrm context">IxClass</a> *                        <a class="code" href="classqx_1_1_ix_sql_relation.html#aeac1e4579260bb325ae359f45d0ed602" title="&#39;IxClass&#39; of the owner">m_pClassOwner</a>;          
<a name="l00087"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#aca8badfdce0c1d518fd031a0def392df">00087</a>    <a class="code" href="classqx_1_1_ix_data_member.html" title="qx::IxDataMember : common interface for all class properties registered into QxOrm context...">IxDataMember</a> *                   <a class="code" href="classqx_1_1_ix_sql_relation.html#aca8badfdce0c1d518fd031a0def392df" title="&#39;IxDataMember&#39; associated wth sql relation">m_pDataMember</a>;          
<a name="l00088"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#acfd096d19465cae44a5b4bdadc16d9df">00088</a>    <a class="code" href="classqx_1_1_ix_data_member_x.html" title="qx::IxDataMemberX : common interface for a list of IxDataMember class properties registered into QxOr...">IxDataMemberX</a> *                  <a class="code" href="classqx_1_1_ix_sql_relation.html#acfd096d19465cae44a5b4bdadc16d9df" title="Collection of &#39;IxDataMember&#39; : parent of &#39;m_pDataMember&#39;.">m_pDataMemberX</a>;         
<a name="l00089"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#aaf478a89788e35f98f6b09d4eb6df475">00089</a>    <a class="code" href="classqx_1_1_ix_data_member.html" title="qx::IxDataMember : common interface for all class properties registered into QxOrm context...">IxDataMember</a> *                   <a class="code" href="classqx_1_1_ix_sql_relation.html#aaf478a89788e35f98f6b09d4eb6df475" title="&#39;IxDataMember&#39; id of &#39;m_pDataMemberX&#39;">m_pDataMemberId</a>;        
<a name="l00090"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#a68104a252ade794513594d94cbf941dc">00090</a>    <a class="code" href="classqx_1_1_ix_data_member.html" title="qx::IxDataMember : common interface for all class properties registered into QxOrm context...">IxDataMember</a> *                   <a class="code" href="classqx_1_1_ix_sql_relation.html#a68104a252ade794513594d94cbf941dc" title="&#39;IxDataMember&#39; id of the owner">m_pDataMemberIdOwner</a>;   
<a name="l00091"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#a4316d753e071d3c5d20fef76e8cb3d93">00091</a>    <span class="keywordtype">long</span>                             <a class="code" href="classqx_1_1_ix_sql_relation.html#a4316d753e071d3c5d20fef76e8cb3d93" title="Generic offset for sql relation.">m_lOffsetRelation</a>;      
<a name="l00092"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#aa0a1587ed5f18fb5f20058baa696f924">00092</a>    <a class="code" href="structqx_1_1dao_1_1sql__join.html#a9d0c04a67abd8ff7c55a45ae4cc00ff3">qx::dao::sql_join::join_type</a>     <a class="code" href="classqx_1_1_ix_sql_relation.html#aa0a1587ed5f18fb5f20058baa696f924" title="Join type to build sql query.">m_eJoinType</a>;            
<a name="l00093"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#afeefe51eff98030b99dc3bb876b0b1e4">00093</a>    <a class="code" href="classqx_1_1_ix_sql_relation.html#a441efa61172fbe9986756e69693c60c1">relation_type</a>                    <a class="code" href="classqx_1_1_ix_sql_relation.html#afeefe51eff98030b99dc3bb876b0b1e4" title="Relation type : one-to-one, one-to-many, etc.">m_eRelationType</a>;        
<a name="l00094"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#ab9a2aa0e3d5513e796a209912594d3ff">00094</a>    <a class="code" href="classqx_1_1_qx_soft_delete.html" title="qx::QxSoftDelete : soft delete (or logical delete) behavior to update a row into database (flag it as...">QxSoftDelete</a>                     <a class="code" href="classqx_1_1_ix_sql_relation.html#ab9a2aa0e3d5513e796a209912594d3ff" title="Soft delete (or logical delete) behavior.">m_oSoftDelete</a>;          
<a name="l00095"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#afd70c61f30c9ffa3b34dc632a71920a6">00095</a>    QString                          <a class="code" href="classqx_1_1_ix_sql_relation.html#afd70c61f30c9ffa3b34dc632a71920a6" title="SQL query foreign key (1-n)">m_sForeignKey</a>;          
<a name="l00096"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#a1d827662da88d7255d2815744f37cec5">00096</a>    QString                          <a class="code" href="classqx_1_1_ix_sql_relation.html#a1d827662da88d7255d2815744f37cec5" title="Extra-table that holds the relationship (n-n)">m_sExtraTable</a>;          
<a name="l00097"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#af2bea6fa72294403a5beeab322f45c98">00097</a>    QString                          <a class="code" href="classqx_1_1_ix_sql_relation.html#af2bea6fa72294403a5beeab322f45c98" title="SQL query foreign key for owner (n-n)">m_sForeignKeyOwner</a>;     
<a name="l00098"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#a2c0cd8369351ed701bd953ea464b36de">00098</a>    QString                          <a class="code" href="classqx_1_1_ix_sql_relation.html#a2c0cd8369351ed701bd953ea464b36de" title="SQL query foreign key for data type (n-n)">m_sForeignKeyDataType</a>;  
<a name="l00099"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#a8c502756e2609d65a6edda27ba248547">00099</a>    <span class="keywordtype">bool</span>                             <a class="code" href="classqx_1_1_ix_sql_relation.html#a8c502756e2609d65a6edda27ba248547" title="Class initialisation in progress.">m_bInitInEvent</a>;         
<a name="l00100"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#a70a22d3210f5324c628947995c0cc3d6">00100</a>    <span class="keywordtype">bool</span>                             <a class="code" href="classqx_1_1_ix_sql_relation.html#a70a22d3210f5324c628947995c0cc3d6" title="Class initialisation finished.">m_bInitDone</a>;            
<a name="l00101"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#a0d60f77206117d9712d8d86c73630ee0">00101</a>    <span class="keywordtype">int</span>                              <a class="code" href="classqx_1_1_ix_sql_relation.html#a0d60f77206117d9712d8d86c73630ee0" title="Check if relationship source entity and target entity are equal.">m_iIsSameDataOwner</a>;     
<a name="l00102"></a>00102 
<a name="l00103"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#a06d67b66581d6c20e91d47e88e21a2f8">00103</a>    <a class="code" href="classqx_1_1_ix_sql_relation.html#ac3785cc67fcaddd747adedcc4665179b">type_lst_data_member_ptr</a> <a class="code" href="classqx_1_1_ix_sql_relation.html#a06d67b66581d6c20e91d47e88e21a2f8" title="Optimization : handle to collection of &#39;IxDataMember&#39;.">m_lstDataMemberPtr</a>;             
<a name="l00104"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#a103b4d2008d336ecd7ecdd12d9ba034e">00104</a>    qx_shared_ptr&lt;IxSqlRelationX&gt; <a class="code" href="classqx_1_1_ix_sql_relation.html#a103b4d2008d336ecd7ecdd12d9ba034e" title="Optimization : handle to collection of &#39;IxSqlRelation&#39;.">m_lstSqlRelationPtr</a>;       
<a name="l00105"></a>00105 
<a name="l00106"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#aa1a9446d9da8bfa3b7cb42ea823d27ae">00106</a>    <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classqx_1_1_ix_sql_relation.html#aa1a9446d9da8bfa3b7cb42ea823d27ae" title="Can be useful to debug an issue with relationship initialization.">m_bTraceRelationInit</a>;   
<a name="l00107"></a>00107 
<a name="l00108"></a>00108 <span class="keyword">public</span>:
<a name="l00109"></a>00109 
<a name="l00110"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#a2de0c12fbe46d0189c47f60a883be21c">00110</a>    <a class="code" href="classqx_1_1_ix_sql_relation.html#a2de0c12fbe46d0189c47f60a883be21c">IxSqlRelation</a>(<a class="code" href="classqx_1_1_ix_data_member.html" title="qx::IxDataMember : common interface for all class properties registered into QxOrm context...">IxDataMember</a> * p) : qx::<a class="code" href="classqx_1_1_qx_property_bag.html" title="qx::QxPropertyBag : used by introspection engine (IxClass, IxDataMember, IxFunction, etc.) to add meta-data (property bag)">QxPropertyBag</a>(), <a class="code" href="_ix_sql_relation_8h.html#a3983e08b7ecc8f694194414a945dc107">QX_CONSTRUCT_IX_RELATION</a>() { ; }
<a name="l00111"></a>00111    <span class="keyword">virtual</span> ~<a class="code" href="classqx_1_1_ix_sql_relation.html" title="qx::IxSqlRelation : common interface for all relationships defined between 2 classes (or between 2 ta...">IxSqlRelation</a>() = 0;
<a name="l00112"></a>00112 
<a name="l00113"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#a3ceff823ec80789f8e83de4fc03c262e">00113</a>    <span class="keyword">inline</span> <a class="code" href="classqx_1_1_qx_collection.html">QxCollection&lt;QString, IxDataMember *&gt;</a> * <a class="code" href="classqx_1_1_ix_sql_relation.html#a3ceff823ec80789f8e83de4fc03c262e">getLstDataMember</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_lstDataMemberPtr.get(); }
<a name="l00114"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#a2578490837557bdb1dd4af0a75268eb2">00114</a>    <span class="keyword">inline</span> <a class="code" href="classqx_1_1_qx_collection.html" title="qx::QxCollection&lt;Key, Value&gt; : QxOrm container (keep insertion order + quick access by index + quick ...">IxSqlRelationX</a> * <a class="code" href="classqx_1_1_ix_sql_relation.html#a2578490837557bdb1dd4af0a75268eb2">getLstRelation</a>()<span class="keyword"> const                          </span>{ <span class="keywordflow">return</span> m_lstSqlRelationPtr.get(); }
<a name="l00115"></a>00115 
<a name="l00116"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#ae9da421646c8066bdefff0a7ce562360">00116</a>    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classqx_1_1_ix_sql_relation.html#ae9da421646c8066bdefff0a7ce562360">setSqlJoinType</a>(<a class="code" href="structqx_1_1dao_1_1sql__join.html#a9d0c04a67abd8ff7c55a45ae4cc00ff3">qx::dao::sql_join::join_type</a> e)     { m_eJoinType = e; }
<a name="l00117"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#a7b6f294d668b8694b54d69a815e25918">00117</a>    <span class="keyword">inline</span> <a class="code" href="structqx_1_1dao_1_1sql__join.html#a9d0c04a67abd8ff7c55a45ae4cc00ff3">qx::dao::sql_join::join_type</a> <a class="code" href="classqx_1_1_ix_sql_relation.html#a7b6f294d668b8694b54d69a815e25918">getSqlJoinType</a>()<span class="keyword"> const     </span>{ <span class="keywordflow">return</span> m_eJoinType; }
<a name="l00118"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#ab0b7ecdeb5767474394c156caa103d9f">00118</a>    <span class="keyword">inline</span> <a class="code" href="classqx_1_1_ix_sql_relation.html#a441efa61172fbe9986756e69693c60c1">relation_type</a> <a class="code" href="classqx_1_1_ix_sql_relation.html#ab0b7ecdeb5767474394c156caa103d9f">getRelationType</a>()<span class="keyword"> const                   </span>{ <span class="keywordflow">return</span> m_eRelationType; }
<a name="l00119"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#a2942ba966a454f6154619518f4d1f2e0">00119</a>    <span class="keyword">inline</span> <a class="code" href="classqx_1_1_ix_class.html" title="qx::IxClass : common interface for all classes registered into QxOrm context">IxClass</a> * <a class="code" href="classqx_1_1_ix_sql_relation.html#a2942ba966a454f6154619518f4d1f2e0">getClass</a>()<span class="keyword"> const                              </span>{ <span class="keywordflow">return</span> m_pClass; }
<a name="l00120"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#a25b8e9290e53e64f499be89023b58394">00120</a>    <span class="keyword">inline</span> <a class="code" href="classqx_1_1_ix_class.html" title="qx::IxClass : common interface for all classes registered into QxOrm context">IxClass</a> * <a class="code" href="classqx_1_1_ix_sql_relation.html#a25b8e9290e53e64f499be89023b58394">getClassOwner</a>()<span class="keyword"> const                         </span>{ <span class="keywordflow">return</span> m_pClassOwner; }
<a name="l00121"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#a961176a40d3c65454b78a2ccd9d40b6c">00121</a>    <span class="keyword">inline</span> <a class="code" href="classqx_1_1_ix_data_member.html" title="qx::IxDataMember : common interface for all class properties registered into QxOrm context...">IxDataMember</a> * <a class="code" href="classqx_1_1_ix_sql_relation.html#a961176a40d3c65454b78a2ccd9d40b6c">getDataMember</a>()<span class="keyword"> const                    </span>{ <span class="keywordflow">return</span> m_pDataMember; }
<a name="l00122"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#a79861f3e971cca1c5cc791655280c3d5">00122</a>    <span class="keyword">inline</span> <a class="code" href="classqx_1_1_ix_data_member_x.html" title="qx::IxDataMemberX : common interface for a list of IxDataMember class properties registered into QxOr...">IxDataMemberX</a> * <a class="code" href="classqx_1_1_ix_sql_relation.html#a79861f3e971cca1c5cc791655280c3d5">getDataMemberX</a>()<span class="keyword"> const                  </span>{ <span class="keywordflow">return</span> m_pDataMemberX; }
<a name="l00123"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#a3f3d150e5a4fb774df53d2ea2df2f249">00123</a>    <span class="keyword">inline</span> <a class="code" href="classqx_1_1_ix_data_member.html" title="qx::IxDataMember : common interface for all class properties registered into QxOrm context...">IxDataMember</a> * <a class="code" href="classqx_1_1_ix_sql_relation.html#a3f3d150e5a4fb774df53d2ea2df2f249">getDataId</a>()<span class="keyword"> const                        </span>{ <span class="keywordflow">return</span> m_pDataMemberId; }
<a name="l00124"></a><a class="code" href="classqx_1_1_ix_sql_relation.html#add2fe91470fe34ab65862e9bdeda69be">00124</a>    <span class="keyword">inline</span> <a class="code" href="classqx_1_1_ix_data_member.html" title="qx::IxDataMember : common interface for all class properties registered into QxOrm context...">IxDataMember</a> * <a class="code" href="classqx_1_1_ix_sql_relation.html#add2fe91470fe34ab65862e9bdeda69be">getDataIdOwner</a>()<span class="keyword"> const                   </span>{ <span class="keywordflow">return</span> m_pDataMemberIdOwner; }
<a name="l00125"></a>00125 
<a name="l00126"></a>00126    QString getKey() <span class="keyword">const</span>;
<a name="l00127"></a>00127    <span class="keywordtype">long</span> getDataCount() <span class="keyword">const</span>;
<a name="l00128"></a>00128    <span class="keywordtype">long</span> getRelationCount() <span class="keyword">const</span>;
<a name="l00129"></a>00129    <a class="code" href="classqx_1_1_ix_data_member.html" title="qx::IxDataMember : common interface for all class properties registered into QxOrm context...">IxDataMember</a> * getDataByKey(<span class="keyword">const</span> QString &amp; sKey) <span class="keyword">const</span>;
<a name="l00130"></a>00130    <a class="code" href="classqx_1_1_ix_data_member.html" title="qx::IxDataMember : common interface for all class properties registered into QxOrm context...">IxDataMember</a> * nextData(<span class="keywordtype">long</span> &amp; lIndex) <span class="keyword">const</span>;
<a name="l00131"></a>00131    <a class="code" href="classqx_1_1_ix_sql_relation.html" title="qx::IxSqlRelation : common interface for all relationships defined between 2 classes (or between 2 ta...">IxSqlRelation</a> * nextRelation(<span class="keywordtype">long</span> &amp; lIndex) <span class="keyword">const</span>;
<a name="l00132"></a>00132    QString table() <span class="keyword">const</span>;
<a name="l00133"></a>00133    QString tableAlias(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00134"></a>00134    QString tableAliasOwner(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00135"></a>00135    QString getSqlJoin(<a class="code" href="structqx_1_1dao_1_1sql__join.html#a9d0c04a67abd8ff7c55a45ae4cc00ff3">qx::dao::sql_join::join_type</a> e = <a class="code" href="structqx_1_1dao_1_1sql__join.html#a9d0c04a67abd8ff7c55a45ae4cc00ff3a18aaed74cc10753bfa9e71bd6f2f77a7">qx::dao::sql_join::no_join</a>) <span class="keyword">const</span>;
<a name="l00136"></a>00136    <span class="keywordtype">bool</span> traceSqlQuery() <span class="keyword">const</span>;
<a name="l00137"></a>00137 
<a name="l00138"></a>00138    <span class="keyword">virtual</span> <span class="keywordtype">void</span> init();
<a name="l00139"></a>00139    <span class="keyword">virtual</span> QString getDescription() <span class="keyword">const</span> = 0;
<a name="l00140"></a>00140    <span class="keyword">virtual</span> QString getExtraTable() <span class="keyword">const</span> = 0;
<a name="l00141"></a>00141    <span class="keyword">virtual</span> QString createExtraTable() <span class="keyword">const</span> = 0;
<a name="l00142"></a>00142    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> getCartesianProduct() <span class="keyword">const</span> = 0;
<a name="l00143"></a>00143    <span class="keyword">virtual</span> QVariant getIdFromQuery(<span class="keywordtype">bool</span> bEager, <a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00144"></a>00144    <span class="keyword">virtual</span> <span class="keywordtype">void</span> updateOffset(<span class="keywordtype">bool</span> bEager, <a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00145"></a>00145    <span class="keyword">virtual</span> <span class="keywordtype">void</span> createTable(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00146"></a>00146    <span class="keyword">virtual</span> <span class="keywordtype">void</span> lazySelect(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00147"></a>00147    <span class="keyword">virtual</span> <span class="keywordtype">void</span> eagerSelect(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00148"></a>00148    <span class="keyword">virtual</span> <span class="keywordtype">void</span> lazyFrom(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00149"></a>00149    <span class="keyword">virtual</span> <span class="keywordtype">void</span> eagerFrom(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00150"></a>00150    <span class="keyword">virtual</span> <span class="keywordtype">void</span> lazyJoin(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00151"></a>00151    <span class="keyword">virtual</span> <span class="keywordtype">void</span> eagerJoin(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00152"></a>00152    <span class="keyword">virtual</span> <span class="keywordtype">void</span> lazyWhere(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00153"></a>00153    <span class="keyword">virtual</span> <span class="keywordtype">void</span> eagerWhere(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00154"></a>00154    <span class="keyword">virtual</span> <span class="keywordtype">void</span> lazyWhereSoftDelete(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00155"></a>00155    <span class="keyword">virtual</span> <span class="keywordtype">void</span> eagerWhereSoftDelete(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00156"></a>00156    <span class="keyword">virtual</span> <span class="keywordtype">void</span> lazyFetch_ResolveInput(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00157"></a>00157    <span class="keyword">virtual</span> <span class="keywordtype">void</span> eagerFetch_ResolveInput(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00158"></a>00158    <span class="keyword">virtual</span> <span class="keywordtype">void</span> lazyFetch_ResolveOutput(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00159"></a>00159    <span class="keyword">virtual</span> <span class="keywordtype">void</span> * eagerFetch_ResolveOutput(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00160"></a>00160    <span class="keyword">virtual</span> <span class="keywordtype">void</span> lazyInsert(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00161"></a>00161    <span class="keyword">virtual</span> <span class="keywordtype">void</span> lazyInsert_Values(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00162"></a>00162    <span class="keyword">virtual</span> <span class="keywordtype">void</span> lazyUpdate(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00163"></a>00163    <span class="keyword">virtual</span> <span class="keywordtype">void</span> lazyInsert_ResolveInput(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00164"></a>00164    <span class="keyword">virtual</span> <span class="keywordtype">void</span> lazyUpdate_ResolveInput(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00165"></a>00165    <span class="keyword">virtual</span> QSqlError onBeforeSave(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00166"></a>00166    <span class="keyword">virtual</span> QSqlError onAfterSave(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span> = 0;
<a name="l00167"></a>00167 
<a name="l00168"></a>00168    <span class="keywordtype">bool</span> verifyOffset(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params, <span class="keywordtype">bool</span> bId) <span class="keyword">const</span> BOOST_USED;
<a name="l00169"></a>00169 
<a name="l00170"></a>00170    <span class="keyword">static</span> <span class="keywordtype">void</span> setTraceRelationInit(<span class="keywordtype">bool</span> bTrace);
<a name="l00171"></a>00171 
<a name="l00172"></a>00172 <span class="keyword">protected</span>:
<a name="l00173"></a>00173 
<a name="l00174"></a>00174    QVariant getIdFromQuery_ManyToMany(<span class="keywordtype">bool</span> bEager, <a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00175"></a>00175    QVariant getIdFromQuery_ManyToOne(<span class="keywordtype">bool</span> bEager, <a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00176"></a>00176    QVariant getIdFromQuery_OneToMany(<span class="keywordtype">bool</span> bEager, <a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00177"></a>00177    QVariant getIdFromQuery_OneToOne(<span class="keywordtype">bool</span> bEager, <a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00178"></a>00178 
<a name="l00179"></a>00179    <span class="keywordtype">void</span> updateOffset_ManyToMany(<span class="keywordtype">bool</span> bEager, <a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00180"></a>00180    <span class="keywordtype">void</span> updateOffset_ManyToOne(<span class="keywordtype">bool</span> bEager, <a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00181"></a>00181    <span class="keywordtype">void</span> updateOffset_OneToMany(<span class="keywordtype">bool</span> bEager, <a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00182"></a>00182    <span class="keywordtype">void</span> updateOffset_OneToOne(<span class="keywordtype">bool</span> bEager, <a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00183"></a>00183 
<a name="l00184"></a>00184    <span class="keywordtype">void</span> eagerSelect_ManyToMany(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00185"></a>00185    <span class="keywordtype">void</span> eagerSelect_ManyToOne(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00186"></a>00186    <span class="keywordtype">void</span> eagerSelect_OneToMany(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00187"></a>00187    <span class="keywordtype">void</span> eagerSelect_OneToOne(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00188"></a>00188 
<a name="l00189"></a>00189    <span class="keywordtype">void</span> eagerJoin_ManyToMany(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00190"></a>00190    <span class="keywordtype">void</span> eagerJoin_ManyToOne(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00191"></a>00191    <span class="keywordtype">void</span> eagerJoin_OneToMany(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00192"></a>00192    <span class="keywordtype">void</span> eagerJoin_OneToOne(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00193"></a>00193 
<a name="l00194"></a>00194    <span class="keywordtype">void</span> eagerWhereSoftDelete_ManyToMany(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00195"></a>00195    <span class="keywordtype">void</span> eagerWhereSoftDelete_ManyToOne(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00196"></a>00196    <span class="keywordtype">void</span> eagerWhereSoftDelete_OneToMany(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00197"></a>00197    <span class="keywordtype">void</span> eagerWhereSoftDelete_OneToOne(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00198"></a>00198 
<a name="l00199"></a>00199    <span class="keywordtype">void</span> lazySelect_ManyToOne(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00200"></a>00200    <span class="keywordtype">void</span> lazyInsert_ManyToOne(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00201"></a>00201    <span class="keywordtype">void</span> lazyInsert_Values_ManyToOne(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00202"></a>00202    <span class="keywordtype">void</span> lazyUpdate_ManyToOne(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00203"></a>00203 
<a name="l00204"></a>00204    <span class="keywordtype">void</span> createTable_ManyToOne(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00205"></a>00205    QSqlError deleteFromExtraTable_ManyToMany(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params) <span class="keyword">const</span>;
<a name="l00206"></a>00206    QString createExtraTable_ManyToMany() <span class="keyword">const</span>;
<a name="l00207"></a>00207 
<a name="l00208"></a>00208    <span class="keywordtype">bool</span> addLazyRelation(<a class="code" href="classqx_1_1_qx_sql_relation_params.html" title="qx::QxSqlRelationParams : define list of parameters to transfer to relationships to manage SQL querie...">QxSqlRelationParams</a> &amp; params, <a class="code" href="classqx_1_1_ix_sql_relation.html" title="qx::IxSqlRelation : common interface for all relationships defined between 2 classes (or between 2 ta...">IxSqlRelation</a> * pRelation) <span class="keyword">const</span>;
<a name="l00209"></a>00209 
<a name="l00210"></a>00210 <span class="keyword">private</span>:
<a name="l00211"></a>00211 
<a name="l00212"></a>00212    <a class="code" href="classqx_1_1_ix_data_member.html" title="qx::IxDataMember : common interface for all class properties registered into QxOrm context...">IxDataMember</a> * isValid_DataMember(<span class="keywordtype">long</span> lIndex) <span class="keyword">const</span>;
<a name="l00213"></a>00213    <a class="code" href="classqx_1_1_ix_data_member.html" title="qx::IxDataMember : common interface for all class properties registered into QxOrm context...">IxDataMember</a> * isValid_SqlRelation(<span class="keywordtype">long</span> lIndex) <span class="keyword">const</span>;
<a name="l00214"></a>00214 
<a name="l00215"></a>00215 };
<a name="l00216"></a>00216 
<a name="l00217"></a>00217 } <span class="comment">// namespace qx</span>
<a name="l00218"></a>00218 
<a name="l00219"></a>00219 <span class="preprocessor">#endif // _IX_SQL_RELATION_H_</span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_ix_sql_relation_8h.html">IxSqlRelation.h</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Sun Dec 11 2016 13:41:03 for QxOrm by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
